import request from '@/utils/request.js'

export const getL1Data = () => {
  return request({
    url: '/l1data/show',
    method: 'POST',
  })
}

export const getStreamUrl = (data) => {
  return request({
    url: '/camera/stitch_cameras_search_by_id_ename',
    method: 'POST',
    data,
  })
}

export const getChartData = (data) => {
  return request({
    url: '/l1data/line_data',
    method: 'POST',
    data
  })
}
